@echo off
:: 设置命令提示符窗口为UTF-8编码
chcp 65001 >nul
echo 正在清除系统垃圾文件，请稍等...
rmdir /s/q "%AppData%\..\Local\JianyingPro\User Data\Cache\audioWave"
rmdir /s/q "%AppData%\..\Local\JianyingPro\User Data\Cache\ILASDKDB\searchFaceCache"
rmdir /s/q "%AppData%\..\Local\JianyingPro\User Data\Log\mssdk_log"
rmdir /s/q "%AppData%\..\Local\JianyingPro\User Data\Log\alog"
rmdir /s/q "%AppData%\..\Local\JianyingPro\User Data\Cache\image"
rmdir /s/q "%AppData%\..\Local\Opera Software\Opera Stable\Default\Cache\Cache_Data"
rmdir /s/q "%AppData%\360browser\bkinfo"
:: 删除Windows更新文件
:: net stop wuauserv
:: rmdir /s/q "%windir%\SoftwareDistribution"
:: net start wuauserv
@REM del /f /s /q "%SystemDrive%\*.tmp"
@REM del /f /s /q "%SystemDrive%\*._mp"
@REM del /f /s /q "%SystemDrive%\*.log"
@REM del /f /s /q "%SystemDrive%\*.gid"
@REM del /f /s /q "%SystemDrive%\*.chk"
@REM del /f /s /q "%SystemDrive%\*.old"
@REM del /f /s /q "%SystemDrive%\recycled\*.*"
@REM del /f /s /q "%windir%\*.bak"
del /f /s /q "%windir%\Prefetch\*.*"
del /f /s /q "%windir%\WinSxS\Backup\*"
rd /s /q "%windir%\Temp" & md "%windir%\Temp"
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\Recent\*.*"
echo y | powershell Clear-RecycleBin
echo 清除系统垃圾完成！
echo. & pause
